$(function(){
     $.ajax({
			url: urlcore + "/api/brand/selectList?status=1",
			type: "get",
			dataType: 'json',
			contentType: "application/json;charset=utf-8",
			success:function(data){
           	$.each(data.data,function(i,n){
           		 var pinpai='<li>'+
            '<a href="6.0.0dianpu.html?id='+n.shopId+'">'+
                '<img onerror="errorImg(this)" src="'+n.brandImg+'">'+
                '<h4>'+n.brandName+'</h4>'+
            '</a>'+
         '</li>';
                $("#pinpai").append(pinpai);
           	});
			}, 
			error:function() {
				alert("error");
			}
		});
});

